@layout("/common/_container.html"){
<link rel="stylesheet" href="${ctxPath}/static/css/plugins/combo.select.css">
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>预案模板管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="q_name" name="名称" />
                            </div>
                            <div class="col-sm-2">

                                <div class="input-group">
                                    <div class="input-group-btn">
                                        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
                                            类型
                                        </button>
                                    </div>
                                    <select class="form-control" name="level" id="type">
                                        <option value>请选择</option>
                                        @for(item in counterplantypes){
                                        <option value="${item.type}" >${item.type}</option>
                                        @}
                                    </select>
                                </div>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="level" name="响应等级"  code="responseLevel"/>
                            </div>
                            <div class="col-sm-3">
                                <#inputsearch id="accidentTypeName" name="事故类型"
                                        hidden="accidentTypeId"
                                        clickFun="CounterplanTemplate.showAccidentTypeSelectTree(); return false;"
                                        onkeyup="CounterplanTemplate.AutoMatchAccidentTypeSelectTree(this); return false"
                                        style="background-color: #ffffff !important;"
                                        selectFlag="true" selectId="accidentTypeTreeDiv" selectTreeId="accidentTypeTree" selectStyle="width:244px !important;"/>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="CounterplanTemplate.search()"/>
                                <#button name="重置" icon="fa-search" clickFun="CounterplanTemplate.resetSearch()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="CounterplanTemplateTableToolbar" role="group">
                            @if(shiro.hasPermission("/counterplanTemplate/add")){
                                <#button name="添加" icon="fa-plus" clickFun="CounterplanTemplate.openAddCounterplanTemplate()"/>
                            @}
                            @if(shiro.hasPermission("/counterplanTemplate/update")){
                                <#button name="修改" icon="fa-plus" clickFun="CounterplanTemplate.openCounterplanTemplateDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/counterplanTemplate/delete")){
                                <#button name="删除" icon="fa-plus" clickFun="CounterplanTemplate.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/counterplanTemplate/detail")){
                            <#button name="预览内容" icon="fa-plus" clickFun="CounterplanTemplate.detail()" space="true"/>
                            @}
                        </div>
                        <#table id="CounterplanTemplateTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/yjya/counterplanTemplate/counterplanTemplate.js"></script>
<!--<script src="${ctxPath}/static/modular/yjya/counterplanTemplate/counterplanTemplate_info.js"></script>-->
@}
